:group 'which-key
:type 'boolean)
+;; Hooks
+(defvar which-key-init-buffer-hook '()
+ "Hook run when which-key buffer is initialized.")
+
;; Faces
(defgroup which-key-faces nil
"Faces for which-key-mode"
(setq-local cursor-type nil)
(setq-local cursor-in-non-selected-windows nil)
(setq-local mode-line-format nil)
- (setq-local word-wrap nil))))
+ (setq-local word-wrap nil)
+ (run-hooks 'which-key-init-buffer-hook))))
(defun which-key--setup ()
"Initial setup for which-key.